package com.oocl.vo;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

import com.oocl.entity.Merchants;


public class FoodsVo implements Serializable {
	private String fid;
	private String fname;
	private double fprice;
	private String ftype;
	private String fimg;
	private Merchants merchant;

	
	public FoodsVo() {
		super();
	}

	public FoodsVo(String fid, String fname, double fprice, String ftype,
			String fimg, Merchants merchant) {
		super();
		this.fid = fid;
		this.fname = fname;
		this.fprice = fprice;
		this.ftype = ftype;
		this.fimg = fimg;
		this.merchant = merchant;
	}

	public String getFid() {
		return fid;
	}

	public void setFid(String fid) {
		this.fid = fid;
	}

	public String getFname() {
		return fname;
	}

	public void setFname(String fname) {
		this.fname = fname;
	}

	public Double getFprice() {
		return fprice;
	}

	public void setFprice(Double fprice) {
		this.fprice = fprice;
	}

	public String getFtype() {
		return ftype;
	}

	public void setFtype(String ftype) {
		this.ftype = ftype;
	}

	public String getFimg() {
		return fimg;
	}

	public void setFimg(String fimg) {
		this.fimg = fimg;
	}

	public Merchants getMerchant() {
		return merchant;
	}

	public void setMerchant(Merchants merchant) {
		this.merchant = merchant;
	}

}
